home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
ARMTEX
/
EXTRAS
/
LGRIND
/
!LGrind
/
!Help
< prev
next >
Wrap
Text File
|
1998-06-15
|
2KB
|
69 lines
LGrind --- a source code pretty-printer for LaTeX.
Written by many people.
Ported to RISC OS by Jakob Stoklund Olesen. 11. Jun 1998
Thanks to Richard Atterer for designing the icon.
LGrind will convert convert source code into a LaTeX2e file for
typesetting. It can produce files which can be run through LaTeX by
themselves or files for inclusion in other LaTeX documents. LGrind knows
about lots of languages C, C++, Java, LaTeX, Pascal, Perl, PostScript
any many more. See the file lgrindef for a complete list.
You should move the file lgrind/sty to a directory searched by TeX.
texmf:tex.latex.misc would be a good place. Run the file
!LGrind.doc.lgrind.dtx through LaTeX to get the typeset documentation.
The Wimp Frontend.
You will need Acorn's DDE modules to use the Wimp frontend. Lgrind has
three modes of operation which you can select in the dialog box:
Stand-alone:
This produces a document which can be run through LaTeX by itself.
To be included:
This produces a LaTeX file which can be included in other LaTeX
documents with the macros \lagrind{} and \lgrindfile{}.
Process embedded text:
Processes a LaTeX which has special embedded LGrind commands and
produces a file which can be typeset.
The `No boldface' option prevents LGrind from using boldface for
keywords.
The dialog box menu. If you click menu over the dialog box you are
presented with the following options:
Command line:
View and alter the command line use to invoke LGrind.
Language:
Specify the programming language used. If you don't do this, LGrind
will guess the language used from the filename. It recognises both
foobar/c and c.foobar naming styles.
Tab width:
Specify the width of tab stops in the input file. Default is 8.
Ignore @ in LaTeX:
When processing a LaTeX file for embedded text ignore @...@
constructs.
Ignore @ in comments:
Dont treat @...@ in comments as code.
Language file:
Use another language definition file than the default
!LGrind.lgrindef.
If you find any bugs in this program, please report them to me.
Jakob Stoklund Olesen
<stoklund@mi.aau.dk>